/* 网页整体样式 - 优化版 */
:root {
    --primary-color: #1e88e5;
    --primary-dark: #1565c0;
    --secondary-color: #667eea;
    --accent-color: #f5576c;
    --text-dark: #333333;
    --text-medium: #666666;
    --text-light: #999999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 5px 20px rgba(0,0,0,0.1);
    --shadow-heavy: 0 10px 30px rgba(0,0,0,0.15);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --transition-fast: 0.3s ease;
    --transition-slow: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 60px;
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    min-height: 100vh;
    line-height: 1.6;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.wrap {
    max-width: none;
    margin: 0;
    padding: 0;
    width: 100%;
}


/* 头部区域样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: rgba(30, 136, 229, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/*logo图片大小*/
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: auto;
    display: block;
    max-width: 100%;
}

/* 导航容器样式 - 优化版 */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航右侧区域 */
.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* 导航菜单样式 */
.nav-menu {
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 搜索框样式 */
.search-box {
    display: flex;
    align-items: center;
}

.search-box input {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.search-box button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

/* 联系信息样式 */
.contact-info {
    display: flex;
    align-items: center;
    height: 100%;
    padding-right: 20px;
}

.contact-info .email {
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    line-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 10px;
}

.contact-info .email i {
    margin-right: 6px;
    font-size: 14px;
    line-height: 1;
    vertical-align: middle;
}

/* 导航菜单 - 优化版 */
.main-nav {
    padding: 8px 0 6px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: var(--shadow-light);
    height: 60px;
    display: flex;
    align-items: center;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    margin: 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 32px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-menu li {
    position: relative;
    transition: transform var(--transition-fast);
}

.nav-menu li:hover {
    transform: translateY(-2px);
}

.nav-menu a {
    text-decoration: none;
    color: var(--bg-white);
    font-weight: 500;
    transition: all var(--transition-fast);
    padding: 8px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--bg-white);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.nav-menu a:hover {
    color: #bbdefb;
    background-color: rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
}

.nav-menu a:hover::before {
    width: 80%;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-heavy);
    border-radius: var(--border-radius-md);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px);
    transition: all var(--transition-slow);
    z-index: 1001;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.dropdown li {
    padding: 0;
    transition: all var(--transition-fast);
}

.dropdown a {
    display: block;
    padding: 12px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-dark);
    transition: all var(--transition-fast);
    transform: translateX(-10px);
    opacity: 0;
    font-size: 14px;
    font-weight: 500;
}

.dropdown a:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateX(0);
    padding-left: 25px;
}



/* 轮播图样式 - 优化版 */
.carousel {
    position: relative;
    width: 100%;
    height: 65vh;
    min-height: 500px;
    overflow: hidden;
    margin-bottom: 0;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.carousel-inner {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: inherit;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.05);
}

.carousel-item.active {
    opacity: 1;
    position: relative;
    transform: scale(1);
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
    transition: filter 0.8s ease;
}

.carousel-item.active img {
    filter: brightness(1);
}

/* 通用图片样式 - 移动端适配 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 轮播图控制按钮 */
.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: background-color 0.3s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.6);
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* 轮播图标题 */
.carousel-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 8px;
    max-width: 600px;
    width: 90%;
}

.carousel-caption h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.carousel-caption .btn {
    background: #1e88e5;
    border: none;
    padding: 10px 25px;
    font-size: 1.1rem;
}

.carousel-caption .btn:hover {
    background: #1565c0;
}

/* 特色服务网格布局 - 优化版 */
.features {
    padding: 80px 0;
    background-color: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: var(--text-dark);
    font-weight: 700;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    padding: 40px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 50px 30px;
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30, 136, 229, 0.1), transparent);
    transition: left 0.6s;
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    display: block;
    transition: transform var(--transition-fast);
}

.feature-item:hover i {
    transform: scale(1.1);
}

.feature-item .feature-icon {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 30px;
    display: block;
    transition: transform var(--transition-fast);
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
}

.feature-item h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    width: 100%;
}

.feature-item p {
    color: var(--text-medium);
    line-height: 1.7;
    font-size: 1.1rem;
    margin: 0;
    text-align: center;
    width: 100%;
}

/* 产品卡片统一尺寸 - 优化版 */
.featured-dishes {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #f0f4f8 100%);
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.dish-card {
    background: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: all var(--transition-fast);
    position: relative;
}

.dish-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.dish-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.dish-card:hover::before {
    transform: scaleX(1);
}

.dish-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--border-color) 100%);
    border-bottom: 1px solid var(--border-color);
    transition: transform var(--transition-fast);
}

.dish-card:hover img {
    transform: scale(1.05);
}

.dish-info {
    padding: 25px;
    position: relative;
}

.dish-info h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-weight: 700;
    line-height: 1.3;
}

.dish-info p {
    color: var(--text-medium);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 1rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.price::before {
    content: '¥';
    font-size: 1.4rem;
    color: var(--text-medium);
}

/* 关于我们预览 */
.about-preview {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.about-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #1e88e5;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background 0.3s;
}

.btn:hover {
    background: #1565c0;
}

/* 通用按钮样式 - 优化版 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    text-align: center;
    line-height: 1.4;
    position: relative;
    overflow: hidden;
    gap: 8px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(30, 136, 229, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 136, 229, 0.4);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-white);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

/* 登录注册按钮样式 */
.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.btn-login, .btn-register {
    padding: 10px 20px;
    border-radius: var(--border-radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-login {
    background-color: transparent;
    color: var(--bg-white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-login:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.btn-register {
    background-color: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--bg-white);
}

.btn-register:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 用户信息组件样式 */
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-link {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
}

.user-name-link {
    text-decoration: none;
    color: inherit;
}

.user-details {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
}

.user-name {
    color: white;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.user-name:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.user-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 8px 0;
    min-width: 140px;
    display: none;
    z-index: 1000;
    border: 1px solid #e1e5e9;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.user-details:hover .user-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.user-menu.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.user-menu a {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.user-menu a:hover {
    background-color: #f8f9fa;
    color: #1e88e5;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .auth-buttons {
        flex-direction: row;
        gap: 8px;
        flex-wrap: nowrap;
        white-space: nowrap;
    }
    
    .btn-login, .btn-register {
        width: auto;
        text-align: center;
        padding: 8px 16px;
        font-size: 13px;
        flex-shrink: 0;
    }
    
    .user-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .user-menu {
        position: static;
        width: 100%;
        margin-top: 10px;
    }
}

/* 关于我们页面样式 */
.about-content-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.about-story {
    margin-bottom: 60px;
}

.about-story h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.story-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.story-text p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.values-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 40px 30px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
}

.value-item i {
    font-size: 3.5rem;
    color: #1e88e5;
    margin-bottom: 25px;
    display: block;
}

.value-item h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #333;
}

.value-item p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.about-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 8px;
}

/* 页脚布局优化 - 优化版 */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 60px 0 20px;
    color: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--secondary-color));
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--bg-white);
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 12px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* 页脚底部版权信息 */
.footer-bottom {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    position: relative;
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    line-height: 1.5;
}

/* 社交链接样式 */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--bg-white);
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.social-links a:hover {
    transform: translateY(-3px) scale(1.1);
    background: var(--primary-color);
    box-shadow: 0 8px 20px rgba(30, 136, 229, 0.3);
}

/* 响应式设计 - 优化版 */
@media (max-width: 1200px) {
    .nav-container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .dishes-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* 基础布局调整 */
    body {
        padding-top: 0;
        font-size: 14px;
    }
    
    .wrap {
        padding: 0 15px;
    }
    
    /* 导航栏移动端适配 */
    .main-nav {
        height: auto;
        padding: 12px 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        margin: 0;
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
    }
    
    .nav-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        width: 100%;
        display: none;
        background: rgba(30, 136, 229, 0.95);
        border-radius: var(--border-radius-md);
        padding: 20px;
        margin-top: 15px;
        box-shadow: var(--shadow-heavy);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px;
        border-radius: var(--border-radius-md);
        background: rgba(255, 255, 255, 0.1);
        font-size: 16px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
    
    .nav-menu a:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: none;
    }
    
    .nav-right {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .search-box {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .search-box input {
        width: 100%;
        box-sizing: border-box;
        font-size: 16px;
        padding: 12px 15px;
    }
    
    .contact-info {
        justify-content: center;
        padding: 0;
    }
    
    /* 轮播图移动端适配 */
    .carousel {
        height: 40vh;
        min-height: 300px;
        border-radius: 0 0 15px 15px;
        margin-top: 60px;
    }
    
    .carousel-caption {
        bottom: 15px;
        padding: 20px;
        width: 95%;
        background: rgba(0, 0, 0, 0.7);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .carousel-caption h2 {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 44px;
        height: 44px;
        background: rgba(0, 0, 0, 0.5);
    }
    
    .carousel-control-prev {
        left: 15px;
    }
    
    .carousel-control-next {
        right: 15px;
    }
    
    /* 特色服务移动端适配 */
    .features {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 35px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 30px 0;
    }
    
    .feature-item {
        padding: 35px 25px;
        min-height: 250px;
    }
    
    .feature-item i {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .feature-item h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }
    
    .feature-item p {
        font-size: 1rem;
    }
    
    /* 产品展示移动端适配 */
    .featured-dishes {
        padding: 50px 0;
    }
    
    .dishes-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .dish-card img {
        height: 220px;
    }
    
    .dish-info {
        padding: 20px;
    }
    
    .dish-info h3 {
        font-size: 1.4rem;
    }
    
    .price {
        font-size: 1.6rem;
    }
    
    /* 关于我们移动端适配 */
    .about-preview {
        padding: 50px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .about-image img {
        height: 250px;
    }
    
    /* 页脚移动端适配 */
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 25px;
    }
    
    /* 移动端菜单按钮 */
    .menu-toggle {
        display: none;
        position: absolute;
        top: 15px;
        right: 15px;
        background: rgba(255, 255, 255, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        color: white;
        padding: 8px 12px;
        border-radius: 4px;
        cursor: pointer;
        z-index: 1001;
        font-size: 18px;
    }
    
    @media (max-width: 768px) {
        .menu-toggle {
            display: block !important;
        }
        
        .nav-menu {
            display: none !important;
        }
        
        .nav-menu.active {
            display: flex !important;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
            padding: 20px;
            z-index: 1000;
            flex-direction: column;
            gap: 10px;
        }
        
        .menu-toggle.active {
            background: rgba(255, 255, 255, 0.3);
        }
    }
    
    /* 关于我们页面移动端适配 */
    .about-content-section {
        padding: 40px 0;
    }
    
    .about-story {
        margin-bottom: 40px;
    }
    
    .about-story h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .story-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .story-image img {
        height: 250px;
        border-radius: 8px;
    }
    
    .values-section h2 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .value-item {
        padding: 30px 20px;
    }
    
    .value-item i {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .value-item h3 {
        font-size: 1.3rem;
    }
    
    /* 通用图片移动端优化 */
    .carousel-item img {
        height: 40vh;
        min-height: 250px;
    }
    
    .feature-item .feature-icon {
        width: 80px;
        height: 80px;
    }
    
    .dish-card img {
        height: 200px;
    }
    
    .about-image img {
        height: 200px;
    }
    
    /* 确保所有图片在移动端都能正确显示 */
    img {
        max-width: 100%;
        height: auto;
    }
    
    .logo img {
        max-height: 40px;
        width: auto;
    }
}





/* 联系我们页面样式 */
.page-title {
    background: linear-gradient(135deg, #1e88e5 0%, #1565c0 100%);
    padding: 60px 0;
    text-align: center;
    color: white;
}

.page-title h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-title p {
    font-size: 1.2rem;
    opacity: 0.9;
}

.contact-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-item {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contact-item i {
    font-size: 3.5rem;
    color: #1e88e5;
    margin-bottom: 20px;
    display: block;
}

.contact-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 600;
    text-align: center;
    width: 100%;
}

.contact-item p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
    text-align: center;
    width: 100%;
}

.contact-form-section {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    margin-bottom: 50px;
}

.contact-form-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #333;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e88e5;
}

.submit-btn {
    width: 100%;
    background: #1e88e5;
    color: white;
    border: none;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 600;
}

.submit-btn:hover {
    background: #1565c0;
}

.map-section {
    background: white;
    padding: 50px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.map-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
    color: #333;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
}

/* 社交链接样式 */
.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1e88e5;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}

.social-links a:hover {
    transform: scale(1.1);
    background: #1565c0;
}

/* 轮播图样式兼容 - 确保HTML中的类名都能正确显示 */
.banner-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 确保carousel-item样式也能正常工作 */
.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

